package Dao;

import Bean.LoginBean;

import java.sql.SQLException;
import java.util.ArrayList;

public interface TestDao {
    public LoginBean Login(LoginBean user) throws SQLException;

    public void Register();

    public ArrayList<LoginBean> Show() throws SQLException;

    public void AddStu(LoginBean user);

    public void AddTea(LoginBean user);

    public void DelStu(LoginBean user);

    public ArrayList<LoginBean> FindCalss(String str) throws SQLException;

    public ArrayList<LoginBean> FindCard(String str);

    public void Change(LoginBean user,int x);

    public void ChangeClass(LoginBean user,String str);

    public void ChangePassword(LoginBean user,String str);

}
